package com.wzy.alllearning.exception;

import lombok.Getter;

@Getter
public enum ErrorCodeEnum
{
	SYSTEM_ERROR(10001, "system error"),
	BUSINESS_EXCEPTION(10002, "system error"),
	FILE_UPLOAD_FAILURE(30006, "文件上传失败");


	private int code;
	private String name;

	private ErrorCodeEnum(int code, String name)
	{
		this.code = code;
		this.name = name;
	}
}
